package edu.gdkm.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class Teacher {
    private Integer id;
    private String name;
    private boolean age;
    private Date mobile;
    private String course;

    public abstract boolean save(Student student);

    public abstract boolean update(Student student);

    public abstract boolean delete(Integer id);

    public abstract Student findById(Integer id);
}